﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:myBoard.App.Components.MagnetsStore" x:Class="myBoard.App.Components.MagnetsStore.SubmitCommentControl" FontFamily="Candara" Foreground="#FF737373" mc:Ignorable="d">
	<StackPanel Orientation="Vertical" d:LayoutOverrides="Height">
		<Grid>
            
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="100"/>
				<ColumnDefinition Width="*"/>
			</Grid.ColumnDefinitions>
			<TextBlock HorizontalAlignment="Right" Margin="0,3,10,0" VerticalAlignment="Top" Text="Rating" TextWrapping="Wrap" d:LayoutOverrides="Width"/>
			<local:Ratings x:Name="_ratingControl" Grid.ColumnSpan="2" Grid.Column="1" MaxRating="5" HorizontalAlignment="Left" VerticalAlignment="Center" Rating="3" IsReadOnly="False"/>
            
		</Grid>
		<Grid Margin="0,10,0,0">
            
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="100"/>
				<ColumnDefinition Width="*"/>
			</Grid.ColumnDefinitions>
			<TextBlock HorizontalAlignment="Right" Margin="0,3,10,0" VerticalAlignment="Top" Text="Title" TextWrapping="Wrap" d:LayoutOverrides="Width"/>
			<TextBox x:Name="_commentTitleTbx" Margin="0" VerticalAlignment="Top" TextWrapping="Wrap" Grid.Column="1" d:LayoutOverrides="Width" Style="{DynamicResource StoreTextboxStyle1}"/>
            
		</Grid>
		<Grid Margin="0,10,0,0">
            
			<Grid.ColumnDefinitions>
				<ColumnDefinition Width="100"/>
				<ColumnDefinition Width="*"/>
			</Grid.ColumnDefinitions>
			<TextBlock HorizontalAlignment="Right" Margin="0,3,10,0" VerticalAlignment="Top" Text="Description" TextWrapping="Wrap" d:LayoutOverrides="Width"/>
			<TextBox x:Name="_commentDescription" Margin="0" VerticalAlignment="Top" TextWrapping="Wrap" Grid.Column="1" d:LayoutOverrides="Width" MinHeight="60" Style="{DynamicResource StoreTextboxStyle1}" AcceptsReturn="True" AcceptsTab="True"/>
            
		</Grid>
		<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,10,0,0">
			<Button x:Name="_cancelBt" HorizontalAlignment="Right" Margin="0,0,10,0" Content="Cancel" Style="{DynamicResource StoreButtonStyle1}" Foreground="White" Width="60" Height="20" Cursor="Hand"/>
			<Button x:Name="_submitBt" HorizontalAlignment="Right" Margin="0,0,-0.001,0" Content="Submit" Style="{DynamicResource StoreButtonStyle1}" Foreground="White" Width="60" Height="20" Cursor="Hand"/>
		</StackPanel>
	</StackPanel>
</UserControl>
